package com.neutech.entity;

import com.mybatisflex.annotation.Table;
import com.neutech.core.BaseEntity;
import java.io.Serializable;
import java.sql.Date;

import java.io.Serial;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 学生提交代码 实体类。
 *
 * @author Administrator
 * @since 2025-02-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "学生提交代码")
@Table("student_commit")
public class StudentCommit extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * git账号
     */
    @Schema(description = "git账号", type = "String")
    private String gitNo;

    /**
     * 添加数
     */
    @Schema(description = "添加数", type = "Integer")
    private Integer addRow;

    /**
     * 删除数
     */
    @Schema(description = "删除数", type = "Integer")
    private Integer delRow;

    /**
     * 提交日期
     */
    @Schema(description = "提交日期", type = "Date")
    private Date commitDate;

    /**
     * 学生id
     */
    @Schema(description = "学生id", type = "Integer")
    private Integer studentId;

    /**
     * 班级id
     */
    @Schema(description = "班级id", type = "Integer")
    private Integer gradeId;

    @Schema(description = "", type = "String")
    private String commitId;

}
